package com.cyrus.vueboot.pojo.auth;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/11/13
 */
@Data
@TableName("admin")
public class Admin implements Serializable {
    //id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户名
    @TableField("username")
    private String username;
    //用户密码
    @TableField("password")
    private String password;
    //电话
    @TableField("phone")
    private String phone;
    //邮箱
    @TableField("email")
    private String email;
    //是否可以登录
    @TableField("status")
    private Integer status;
    //权限
    @TableField("authority")
    private String authority;
    //逻辑删除
    @TableField("isShow")
    private Integer isShow;
}
